/* stylelint-disable selector-class-pattern */
.transfer-box {
    display: flex;
    max-height: calc(100vh - 114px) !important;

    .header {
        padding-left: 20px;
        padding-right: 20px;
        height: 40px;
        line-height: 40px;
        background-color: rgb(250, 251, 253);
        border-bottom: 1px solid rgb(220, 222, 229);
    }

    .source-list {
        width: 60%;
        border: 1px solid rgb(220, 222, 229);
        overflow-y: auto;

        .search {
            padding: 20px;
        }

        .organization-box {
            padding: 0 0 20px 20px;

            .custom-tree-node {
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding-right: 20px;

                /deep/.el-checkbox__inner {
                    border-radius: 50%;
                }
            }
        }
    }

    .selection-container {
        border: 1px solid #dcdee5;
        border-bottom: none;
        background-color: #f5f7fa;
        padding: 12px 24px;
        height: 100%;
        flex: 1;
        margin-left: 10px;
        overflow-y: scroll;

        >p {
            justify-content: space-between;
            font-size: 12px;
            margin: 0 0 10px 0;
            color: #63656e;

            span {
                display: inline-block;
                color: $cw-color-primary;
            }

            .clear {
                float: right;
                cursor: pointer;
            }
        }

        ul {
            margin-top: 15px;

            li {
                background: #fff;
                padding: 10px;
                position: relative;
                border-bottom: 1px solid $cw-color-border-0;

                &:last-child {
                    border: none;
                }

                span {
                    float: right;
                    font-size: 12px;
                    color: $cw-color-text-3;
                    padding-right: 10px;
                }

                >i {
                    display: none;
                    position: absolute;
                    right: 5px;
                    top: 12px;
                    font-size: 18px;
                }

                &:hover {
                    cursor: pointer;

                    i {
                        display: inline-block;

                        &:hover {
                            color: $cw-color-primary;
                        }
                    }
                }
            }
        }
    }
}
